package com.dyc.caradvertisting.constants;

/**
 * Created by niejiahuan on 16/11/1.
 */

public class Constant {
//    act = 102   //接口号
//    param = {"phone":"18201893498","psw":"123123","vcode":"123456"} //参数json
//    sign = d9f8002b931646447db8669770581d47 //签名
//            strtime = 1477207896    //时间戳
    public static final String ACT="act";
    public static final String PARAM="param";
    public static final String SIGN="sign";
    public static final String STRTIME="strtime";
    public static final String CATEGORY_ALL="all";//category  商品类别（必填）  注：全部：all  实物：2  服务：3  券类：4
    public static final String CATEGORY_2="2";
    public static final String CATEGORY_3="3";
    public static final String CATEGORY_4="4";
    public static String APPKEY="8vxCdCVyoqybZb1szcJCebyWfAN7WqBr";

    public static int REQ_USER_LOGIN=101; //登录接口{"phone":"18201893498","psw":"123123"}
    public static int REQ_USER_REGISTER=102; //注册接口 {"phone":"18201893498","psw":"123123","vcode":"123456"}
    public static int REQ_USERMOD_INFO=103;// 修改用户信息接口 {"nickname":"vicwang123","uid":"238"}
    public static int REQ_CHANGE_PASSWORD=107;// 修改密码 {"psw":"123456","opsw":"123123","uid":"239"}
    public static int REQ_GOODS_LIST=201;// 商品列表{"category":"all","uid":"238"}
    public static int REQ_GOODS_DETAILS=202;// 商品详情 {"goodsId":"43","uid":"238"}
    public static int REQ_BING_SET=301;// 绑定设备
    public static int REQ_OPPEN_BIND_SET=302;// 解绑设备
    public static int REQ_SET_LIST=303;// 设备列表
    public static int REQ_SET_D=304;// 设备详情
    public static int REQ_CHANG_LX=305;// 添加/修改紧急通知
    public static int REQ_LINKMAN=306;// 获取紧急通知
}
